<extend name="Public/base" />
<block name="body">
<section class="content col-xs-10">
    <div class="row">
        <div class="col-xs-12">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h2 class="box-title">案例类型管理</h2>
                    <div class="box-tools pull-right">
                        <a href="__APP__/Caseb/insert" class="btn btn-sm btn-primary">添加</a>
                    </div>
                </div><!-- /.box-header -->
                <div class="box-body">
                    <table id="example2" class="table table-bordered table-hover">
                        <thead>
                        <tr>
                            <th>#</th>
                            <th>标题</th>
                            <th>案例类型</th>
                            <th>排序</th>
                            <th>添加时间</th>
                            <th>案例图片</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                          <volist name="list" id="vo">
                            <tr>
                            <td>{$key+1}</td>
                            <td>{$vo.title}</td>
                            <td>{$vo.t_name}</td>
                            <td>{$vo.sort}</td>
                            <td><img src="__PUBLIC__/images/{$vo.img_url}" width="100" height="100"></td>
                            <td>{$vo.createtime}</td>
                            <td class="center">
                                </a>
                                <a class="btn btn-info" href="__APP__/Caseb/update?id={$vo.id}">
                                    <i class="glyphicon glyphicon-edit icon-white"></i>
                                    修改
                                </a>
                                <a class="btn btn-danger" href="__APP__/Caseb/delete?id={$vo.id}" onClick="return confirm('确认要删除？');">
                                    <i class="glyphicon glyphicon-trash icon-white"></i>
                                    删除
                                </a>
                            </td>
                        </tr>
                        </volist>
                         </tbody>
                    </table>
                </div><!-- /.box-body -->
            </div><!-- /.box -->

        </div>
    </div>
</section>


</block>
